package cn.ad.server.web.spring.model.adview;

/**
 * 广告请求信息中APP描述 对应接口文档App 对象
 * @author Administrator
 *
 */
public class App {
	
	/**
	 * App 唯一标识，由 AdView 生成,例如APP92348
	 */
	private String id;
	
	/**
	 * App 名称
	 */
	private String name;
	
	/**
	 * App 官网地址
	 */
	private String domain;
	
	/**
	 * App 类型
	 */
	private int[] cat;
	
	/**
	 * App 版本
	 */
	private String ver;
	
	/**
	 * BundleID 或者包名
	 */
	private String bundle;
	
	/**
	 * 是否为付费 App：
		0- 不是
		1- 是付费
		2- 应用内付费
	 */
	private int paid;
	
	/**
	 * App 关键字，可以以逗号分隔多个
	 */
	private String keywords;
	
	/**
	 * 市场下载地址
	 */
	private String storeurl;
	
	/**
	 * 扩展内容
	 */
	private Object ext;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the domain
	 */
	public String getDomain() {
		return domain;
	}

	/**
	 * @param domain the domain to set
	 */
	public void setDomain(String domain) {
		this.domain = domain;
	}

	/**
	 * @return the cat
	 */
	public int[] getCat() {
		return cat;
	}

	/**
	 * @param cat the cat to set
	 */
	public void setCat(int[] cat) {
		this.cat = cat;
	}

	/**
	 * @return the ver
	 */
	public String getVer() {
		return ver;
	}

	/**
	 * @param ver the ver to set
	 */
	public void setVer(String ver) {
		this.ver = ver;
	}

	/**
	 * @return the bundle
	 */
	public String getBundle() {
		return bundle;
	}

	/**
	 * @param bundle the bundle to set
	 */
	public void setBundle(String bundle) {
		this.bundle = bundle;
	}

	/**
	 * @return the paid
	 */
	public int getPaid() {
		return paid;
	}

	/**
	 * @param paid the paid to set
	 */
	public void setPaid(int paid) {
		this.paid = paid;
	}

	/**
	 * @return the keywords
	 */
	public String getKeywords() {
		return keywords;
	}

	/**
	 * @param keywords the keywords to set
	 */
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	/**
	 * @return the storeurl
	 */
	public String getStoreurl() {
		return storeurl;
	}

	/**
	 * @param storeurl the storeurl to set
	 */
	public void setStoreurl(String storeurl) {
		this.storeurl = storeurl;
	}

	public Object getExt() {
		return ext;
	}

	public void setExt(Object ext) {
		this.ext = ext;
	}
}
